package com.itheima.d4_enum;

public enum Sex {
    BOY("1."), GIRL("2.");
    private String name;

    Sex() {
    }

    Sex(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
